﻿using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace AirFramework
{
    public static class UIExtensions
    {
        [DebuggerHidden, MethodImpl(MethodImplOptions.AggressiveInlining)]
        public static T GetModel<T>(this Controller controller) where T :class, IModel
        {
            return Framework.MVC.Models.Get<T>();
        }


    }
}
